- getPrice(input: {
funcInput: BuyInput;
contract: string;
positionType: "support" | "oppose";
qty: number;
state?: State;
}): Promise<{
funcInput: BuyInput;
contract: string;
state?: State;
}>
-
Parameters
-
input: {
funcInput: BuyInput;
contract: string;
positionType: "support" | "oppose";
qty: number;
state?: State;
}
-
-
contract: string
-
positionType: "support" | "oppose"
-
qty: number
-
Optional
state?: State
Returns Promise<{
funcInput: BuyInput;
contract: string;
state?: State;
}>
Description
Retuns price and fee.
Author
@jshaw-ar
Export
Returns